package com.platform.dao;

import com.platform.entity.IncomeCoinTaskEntity;
import com.platform.utils.Query;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Map;

/**
 * Dao
 *
 * @author LiangXiaoJie
 * @email 740596501@qq.com
 * @date 2019-01-03 16:57:58
 */
public interface IncomeCoinTaskDao extends BaseDao<IncomeCoinTaskEntity> {

    int checkDynamic(@Param("userid") Long userid,@Param("ruleid") Integer ruleid ,@Param("date") String date);

    Integer queryTotalByParam(@Param("userid")Long userid,@Param("creditruleid")Integer creditruleid);

    BigDecimal queryData(Map map);
}
